package com.sysmanage.etl.service;

import java.io.File;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.sysmanage.etl.model.ETL_Excel;

@Service
public interface IImportDataService {

	/**
	 * 
	 * @param rule_ids
	 *            按照rule顺序传入id
	 * @param excel
	 * @throws Exception
	 */
	public String saveData(ETL_Excel etlExcel) throws Exception;

	public Integer importData(ETL_Excel etlExcel, File excel, List<Map<Integer, String>> list , Integer... indexs) throws Exception;

	public Integer saveData(ETL_Excel etlExcel , Integer... indexs) throws Exception;
}
